package cn.my.framework.common.entity;

import java.io.Serializable;
import java.util.LinkedList;

/**
 * Created by zhangl_lc on 2017/8/7.
 */
public class Menu implements Serializable{

    private static final long serialVersionUID = 1L;

    private String id;

    private String text;

    private String url;

    private String icon;

    private LinkedList<Menu> children;

    public Menu(){}

    public Menu(String id, String text, String url) {
        this.id = id;
        this.text = text;
        this.url = url;
    }

    public Menu(String id, String text, String url, String icon) {
        this.id = id;
        this.text = text;
        this.url = url;
        this.icon = icon;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public LinkedList<Menu> getChildren() {
        return children;
    }

    public void setChildren(LinkedList<Menu> children) {
        this.children = children;
    }
}
